//
//  BaseModel.h
//  TestApplication
//
//  Created by Hanlingyu on 16/8/26.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface BaseModel : NSObject

/**
 *  基类初始化方法
 *
 *  @param dic model对应的字典
 *
 *  @return
 */
- (instancetype)initWithDic:(NSDictionary *)dic;

/**
 *  基类构造器方法
 *
 *  @param dic model对应的字典
 *
 *  @return 
 */
+ (__kindof BaseModel *)modelWithDic:(NSDictionary *)dic;

@end
NS_ASSUME_NONNULL_END